package com.typhoon.spring_boot_demo1.dao;

import com.typhoon.spring_boot_demo1.bean.User;
import org.springframework.stereotype.Repository;

@Repository("user2Dao")
public class User2Dao extends BaseDao {
    private static final String TABLE_NAME = "User";

    public User queryByPk(Long id) {
        return this.queryByPrimaryKey(TABLE_NAME,id,User.class);
    }
}
